package com.powernobug.servlet;

import com.powernobug.bean.vo.BaseRespVo;
import com.powernobug.service.AdminCategoryService;
import com.powernobug.service.impl.AdminCategoryServiceImpl;

import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @description:
 * @project: project1-no-bug
 * @package: com.powernobug.servlet
 * @author: HuangWeiLong
 * @date: 2024/8/25 16:01
 */
@WebServlet("/category/*")
public class AdminCategoryServlet extends CommonServlet{
    AdminCategoryService adminCategoryService=new AdminCategoryServiceImpl();
    public BaseRespVo list(HttpServletRequest request){
        return adminCategoryService.list();
    }
}
